package com.wcity.manage.dao.mapper;

import com.wcity.manage.dao.dal.BaseMapper;
import com.wcity.manage.dao.model.Block;
import com.wcity.manage.dao.model.Fix;
import org.springframework.stereotype.Repository;

import java.io.Serializable;

/**
 * 物业报修管理模块
 * Created by zm on 2016/12/12.
 */
@Repository
public interface PropertyFixMapper extends BaseMapper<Fix, Serializable> {
    /**
     * 获取维修信息
     * @param id
     * @return
     */
    Fix getFixInfo(String id);

    /**
     * 根据小区id获取userid
     * @param blockId
     * @return
     */
    Block getUserId(String blockId);
}
